package OOday02;

public class OverrideDemo {
    public static void main(String[] args) {
        Student zg = new Student("张光",23,"长春","2405","001");
        zg.sayHi();
        Teacher ll = new Teacher("李林",24,"北京",2000);
        ll.sayHi();
        Doctor zl = new Doctor("赵亮",45,"山东","主任");
        zl.sayHi();
    }
}
